<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>管理员列表</title>
<link rel="shortcut icon" href="favicon.ico">
<link href="h+/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="h+/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<!-- Data Tables -->
<link href="h+/css/plugins/dataTables/dataTables.bootstrap.css"
	rel="stylesheet">
<link href="h+/css/animate.css" rel="stylesheet">
<link href="h+/css/style.css?v=4.1.0" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
<script type="text/javascript" src="js/backend/admin_list.js"></script>
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>管理员列表</h5>
						<div class="ibox-tools">
							<button class="btn btn-sm btn-primary pull-right m-t-n-xs "
								id="addAdminBtn">
								<strong>添加</strong>
							</button>
						</div>
					</div>
					<div class="ibox-content" align="center">
						<table style="table-layout: fixed;"
							class="table table-striped table-bordered table-hover dataTables-example">
							<thead>
								<tr>
									<th>管理员账号</th>
									<th>昵称</th>
									<th>角色</th>
									<th>创建时间</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<!-- th:href="|resetAdminPwd.action?a_id=${admin.aAccount}|" -->
								<!-- th:href="|deleteAdminAction?a_id=${admin.aAccount}|" -->
								<tr class="gradeX" th:each="admin,adminStat:${adminList}">
									<td th:text="${admin.aAccount}"></td>
									<td th:text="${admin.aAname}"></td>
									<td th:text="${admin.aIdentity}"></td>
									<td class="center">2018-05-05</td>
									<td class="center"><a name="resetPwd"
										th:value="${admin.aId}" class="btn btn-white btn-sm"><i
											class="fa fa-folder"></i> 重置密码</a><a class="btn btn-white btn-sm"
										name="deleteAdmin" th:value="${admin.aId}"
										style="margin-left: 10px"><i class="fa fa-pencil"></i>删除 </a></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
